<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
		<title>管理员后台</title>
		<%
			response.setHeader("Pragma","No-cache"); 
			response.setHeader("Cache-Control","no-cache"); 
			response.setDateHeader("Expires", 0);
			String path = request.getContextPath();
			String port = (0<request.getServerPort()) ? (":"+request.getServerPort()) : "";
			String basePath = request.getScheme()+"://"+request.getServerName()+port+path+"/";
		%>
		<link href="<%=basePath%>/resources/login/skin16/style.css" rel="stylesheet" type="text/css" id="skin" />
		<script type="text/javascript" src="<%=basePath%>/resources/js/jquery-1.4.js"></script>
		<script type="text/javascript" src="<%=basePath%>/resources/js/login.js"></script>

		<!--引入弹窗组件start-->
		<script type="text/javascript" src="<%=basePath%>/resources/js/attention/zDialog/zDrag.js"></script>
		<script type="text/javascript" src="<%=basePath%>/resources/js/attention/zDialog/zDialog.js"></script>
		<!--引入弹窗组件end-->

		<!--修正IE6支持透明png图片start-->
		<script type="text/javascript" src="<%=basePath%>/resources/js/method/pngFix/supersleight.js"></script>
		<!--修正IE6支持透明png图片end-->

		<!--居中显示start-->
		<script type="text/javascript" src="<%=basePath%>/resources/js/method/center-plugin.js"></script>
		<script type="text/javascript">
			$(function() {
				$('.login_main').center();

				if (window.parent != null && window.parent.shtmlcument.URL != document.URL) {
					window.parent.location = document.URL;
				}

			})
		</script>
		<script type="text/javascript">
		    function submitForm(){
		        var loginName = document.forms[0]["loginName"];
		        var onePassword = document.forms[0]["onePassword"];
		        if(loginName.value == ""){
		            alert("账号不能为空!");
		            
		            return false;
		        }
		        if(onePassword.value == ""){
		            alert("密码不能为空!");
		            
		            return false;
		        }
		        return true;
		    }
		    function clearForm(){
		        document.forms[0]["loginName"].value="";
		        document.forms[0]["onePassword"].value="";
		    }
		</script>	
		<script language="javascript"> 
		 	 document.onkeydown = function(){
			 if(window.event && window.event.keyCode == 123) {
			 	window.event.keyCode = 505;
			 }
		</script>
		<!--居中显示end-->
		<style type="text/css">
			/*提示信息*/
			#cursorMessageDiv {
				position: absolute;
				z-index: 99999;
				border: solid 1px #cc9933;
				background: #ffffcc;
				padding: 2px;
				margin: 0px;
				display: none;
				line-height: 150%;
			}
			/*提示信息*/
		</style>
	</head>
	
	<body oncontextmenu="return false">
		<div class="login_main">
			<div class="login_top">
				<div class="login_title"></div>
			</div>
			<div class="login_middle">
				<div class="login_middleleft"></div>
				<div class="login_middlecenter">
				
<form action="loginAdmin.shtml" class="login_form" method="post" onsubmit="return submitForm()" >
						<div class="login_user">
							<input type="text" id="loginName" name="loginName"/>
						</div>
						<div class="login_pass">
							 
							<input type="password" id="onePassword" name="onePassword"/>
						</div>
						
						<div class="clear"></div>
						<div class="login_button">
							<div class="login_button_left">
								<input type="submit" value="" onfocus="this.blur()" />
							</div>
							<div class="login_button_right">
								<input type="reset" value="" onfocus="this.blur()" />
							</div>
							<div class="clear"></div>
						</div>
</form>
					 <div class="login_info">${retMsg}</div>
				</div>
				<div class="login_middleright"></div>
				<div class="clear"></div>
			</div>
			<div class="login_bottom">
				<div class="login_copyright">
					管理员后台
				</div>
			</div>
		</div>
	</body>
</html>
